package com.bishe.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("物资出库")
@TableName(value = "wz_out")
@Data
public class WzOut {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("关联id")
    private String uid;
    //物资名
    @ApiModelProperty("物资名")
    private String name;

    @ApiModelProperty("物资数量")
    private Integer wzNum;

    @ApiModelProperty("物资出库数量")
    private Integer wzCkNum;

    @ApiModelProperty("物资剩余数量")
    private Integer wzRemaining;

    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("位置")
    private String position;

    @ApiModelProperty("收货地址")
    private String takeDeliveryInfo;

    //物资类别
    @ApiModelProperty("物资类别")
    private String type;
    //重量
    @ApiModelProperty("重量")
    private Object weight;

    @TableField(exist = false)
    @ApiModelProperty("文件信息")
    private FileInfo fileInfo;

    @TableField(exist = false)
    @ApiModelProperty("仓库名")
    private String warehouseName;

    @ApiModelProperty("文件关联id")
    private String dataId;

    @ApiModelProperty("快递员")
    private String expressman;

    @ApiModelProperty("收件人")
    private String sjr;

    @TableField(exist = false)
    @ApiModelProperty("操作人")
    private String createName;

    @ApiModelProperty("")
    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date yjsj;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Integer status;

    private String address;


}
